#include <base/string.h>

void test_cstring() {
  base::cchar *STR = "this is a test string, I like it.";
  base::cstring str1(STR);
  base::cstring str2(STR + 5, 2);
  auto pos = str1.find(0, str2);
  auto rpos = str1.rfind(str1.size(), str2);
}

int main(int argc, char **argv) {
  test_cstring();
  return 0;
}